package interfacedemo;

public class Test {
    public static void main(String[] args) {
        PingPongCoach pingPongCoach = new PingPongCoach("王强",25);
        PingPongAthlete pingPongAthlete = new PingPongAthlete("王强",25);
        pingPongCoach.action();
        pingPongCoach.speakEnglish();
        pingPongAthlete.action();
        pingPongAthlete.speakEnglish();
        BasketballCoach basketballCoach = new BasketballCoach("王强",25);
        BasketballAthlete basketballAthlete = new BasketballAthlete("王强",25);
        basketballCoach.action();
        basketballAthlete.action();
    }
}
